package com.sdry.mapper.cb;

import com.sdry.model.cb.ForkliEntity;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface ForkliEntityMapper {

    int delete(Long id);

    int insert(ForkliEntity forkliEntity);

    int insertDynamic(ForkliEntity forkliEntity);

    int updateDynamic(ForkliEntity forkliEntity);

    int update(ForkliEntity forkliEntity);

    ForkliEntity selectById(Long id);

    List<ForkliEntity> findPageWithResult(ForkliEntity forkliEntityDTO);

    @Update("update c_Forkli_t set del = '1' where id = #{id}")
    Integer setDelete (Long id);
}
